package com.example.profile_encryption.controller;

import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import  com.example.profile_encryption.common.Result;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/sys/back/student")
public class StudentController extends BaseController{

    @GetMapping("/get")
    @ApiOperation(value="查找所有学生信息")
    public  Result findAll(){
        return Result.success(studentService.getAllStudents());
    }

}
